package eu.ahsx.limboa.media
{
	import flash.events.IEventDispatcher;
	
	/**
	 * 	Contracting AssetManager loader
	 * 	@author Masy Alexandre
	 * */
	public interface IAssetsLoader extends IEventDispatcher 
	{
		/**
		 * 	Load a file
		 * 	@param	file AssetsFile file to load
		 * */
		function load(file:MediaFile):void
		
		/**
		 * 	Percent loaded
		 * 	Goes from 0 to 100
		 * */
		function get percent():int
		
		/**
		 * 	Retrieve loaded data
		 * */
		function get data():*
		
		/**
		 * 	Stop the loading
		 * */
		function stop():void
			
		/**
		 * 	Unload the content.
		 * */
		function unload():void
	}
}